package com.example.springbootdemo.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;

/**
 *@author xuwangqi
 *@date 2021/5/24 9:28
 **/
/**
    * 订单退货申请
    */
@ApiModel(value="com-example-springbootdemo-entity-OrderReturnApply")
@TableName(value = "order_return_apply")
public class OrderReturnApply {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Long id;

    /**
     * order_id
     */
    @TableField(value = "order_id")
    @ApiModelProperty(value="order_id")
    private Long orderId;

    /**
     * 退货商品id
     */
    @TableField(value = "sku_id")
    @ApiModelProperty(value="退货商品id")
    private Long skuId;

    /**
     * 订单编号
     */
    @TableField(value = "order_sn")
    @ApiModelProperty(value="订单编号")
    private String orderSn;

    /**
     * 申请时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="申请时间")
    private Date createTime;

    /**
     * 会员用户名
     */
    @TableField(value = "member_username")
    @ApiModelProperty(value="会员用户名")
    private String memberUsername;

    /**
     * 退款金额
     */
    @TableField(value = "return_amount")
    @ApiModelProperty(value="退款金额")
    private BigDecimal returnAmount;

    /**
     * 退货人姓名
     */
    @TableField(value = "return_name")
    @ApiModelProperty(value="退货人姓名")
    private String returnName;

    /**
     * 退货人电话
     */
    @TableField(value = "return_phone")
    @ApiModelProperty(value="退货人电话")
    private String returnPhone;

    /**
     * 申请状态[0->待处理；1->退货中；2->已完成；3->已拒绝]
     */
    @TableField(value = "status")
    @ApiModelProperty(value="申请状态[0->待处理；1->退货中；2->已完成；3->已拒绝]")
    private Boolean status;

    /**
     * 处理时间
     */
    @TableField(value = "handle_time")
    @ApiModelProperty(value="处理时间")
    private Date handleTime;

    /**
     * 商品图片
     */
    @TableField(value = "sku_img")
    @ApiModelProperty(value="商品图片")
    private String skuImg;

    /**
     * 商品名称
     */
    @TableField(value = "sku_name")
    @ApiModelProperty(value="商品名称")
    private String skuName;

    /**
     * 商品品牌
     */
    @TableField(value = "sku_brand")
    @ApiModelProperty(value="商品品牌")
    private String skuBrand;

    /**
     * 商品销售属性(JSON)
     */
    @TableField(value = "sku_attrs_vals")
    @ApiModelProperty(value="商品销售属性(JSON)")
    private String skuAttrsVals;

    /**
     * 退货数量
     */
    @TableField(value = "sku_count")
    @ApiModelProperty(value="退货数量")
    private Integer skuCount;

    /**
     * 商品单价
     */
    @TableField(value = "sku_price")
    @ApiModelProperty(value="商品单价")
    private BigDecimal skuPrice;

    /**
     * 商品实际支付单价
     */
    @TableField(value = "sku_real_price")
    @ApiModelProperty(value="商品实际支付单价")
    private BigDecimal skuRealPrice;

    /**
     * 原因
     */
    @TableField(value = "reason")
    @ApiModelProperty(value="原因")
    private String reason;

    /**
     * 描述
     */
    @TableField(value = "description述")
    @ApiModelProperty(value="描述")
    private String description述;

    /**
     * 凭证图片，以逗号隔开
     */
    @TableField(value = "desc_pics")
    @ApiModelProperty(value="凭证图片，以逗号隔开")
    private String descPics;

    /**
     * 处理备注
     */
    @TableField(value = "handle_note")
    @ApiModelProperty(value="处理备注")
    private String handleNote;

    /**
     * 处理人员
     */
    @TableField(value = "handle_man")
    @ApiModelProperty(value="处理人员")
    private String handleMan;

    /**
     * 收货人
     */
    @TableField(value = "receive_man")
    @ApiModelProperty(value="收货人")
    private String receiveMan;

    /**
     * 收货时间
     */
    @TableField(value = "receive_time")
    @ApiModelProperty(value="收货时间")
    private Date receiveTime;

    /**
     * 收货备注
     */
    @TableField(value = "receive_note")
    @ApiModelProperty(value="收货备注")
    private String receiveNote;

    /**
     * 收货电话
     */
    @TableField(value = "receive_phone")
    @ApiModelProperty(value="收货电话")
    private String receivePhone;

    /**
     * 公司收货地址
     */
    @TableField(value = "company_address")
    @ApiModelProperty(value="公司收货地址")
    private String companyAddress;

    public static final String COL_ID = "id";

    public static final String COL_ORDER_ID = "order_id";

    public static final String COL_SKU_ID = "sku_id";

    public static final String COL_ORDER_SN = "order_sn";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MEMBER_USERNAME = "member_username";

    public static final String COL_RETURN_AMOUNT = "return_amount";

    public static final String COL_RETURN_NAME = "return_name";

    public static final String COL_RETURN_PHONE = "return_phone";

    public static final String COL_STATUS = "status";

    public static final String COL_HANDLE_TIME = "handle_time";

    public static final String COL_SKU_IMG = "sku_img";

    public static final String COL_SKU_NAME = "sku_name";

    public static final String COL_SKU_BRAND = "sku_brand";

    public static final String COL_SKU_ATTRS_VALS = "sku_attrs_vals";

    public static final String COL_SKU_COUNT = "sku_count";

    public static final String COL_SKU_PRICE = "sku_price";

    public static final String COL_SKU_REAL_PRICE = "sku_real_price";

    public static final String COL_REASON = "reason";

    public static final String COL_DESCRIPTION述 = "description述";

    public static final String COL_DESC_PICS = "desc_pics";

    public static final String COL_HANDLE_NOTE = "handle_note";

    public static final String COL_HANDLE_MAN = "handle_man";

    public static final String COL_RECEIVE_MAN = "receive_man";

    public static final String COL_RECEIVE_TIME = "receive_time";

    public static final String COL_RECEIVE_NOTE = "receive_note";

    public static final String COL_RECEIVE_PHONE = "receive_phone";

    public static final String COL_COMPANY_ADDRESS = "company_address";

    /**
     * 获取id
     *
     * @return id - id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取order_id
     *
     * @return order_id - order_id
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置order_id
     *
     * @param orderId order_id
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取退货商品id
     *
     * @return sku_id - 退货商品id
     */
    public Long getSkuId() {
        return skuId;
    }

    /**
     * 设置退货商品id
     *
     * @param skuId 退货商品id
     */
    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    /**
     * 获取订单编号
     *
     * @return order_sn - 订单编号
     */
    public String getOrderSn() {
        return orderSn;
    }

    /**
     * 设置订单编号
     *
     * @param orderSn 订单编号
     */
    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    /**
     * 获取申请时间
     *
     * @return create_time - 申请时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置申请时间
     *
     * @param createTime 申请时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取会员用户名
     *
     * @return member_username - 会员用户名
     */
    public String getMemberUsername() {
        return memberUsername;
    }

    /**
     * 设置会员用户名
     *
     * @param memberUsername 会员用户名
     */
    public void setMemberUsername(String memberUsername) {
        this.memberUsername = memberUsername;
    }

    /**
     * 获取退款金额
     *
     * @return return_amount - 退款金额
     */
    public BigDecimal getReturnAmount() {
        return returnAmount;
    }

    /**
     * 设置退款金额
     *
     * @param returnAmount 退款金额
     */
    public void setReturnAmount(BigDecimal returnAmount) {
        this.returnAmount = returnAmount;
    }

    /**
     * 获取退货人姓名
     *
     * @return return_name - 退货人姓名
     */
    public String getReturnName() {
        return returnName;
    }

    /**
     * 设置退货人姓名
     *
     * @param returnName 退货人姓名
     */
    public void setReturnName(String returnName) {
        this.returnName = returnName;
    }

    /**
     * 获取退货人电话
     *
     * @return return_phone - 退货人电话
     */
    public String getReturnPhone() {
        return returnPhone;
    }

    /**
     * 设置退货人电话
     *
     * @param returnPhone 退货人电话
     */
    public void setReturnPhone(String returnPhone) {
        this.returnPhone = returnPhone;
    }

    /**
     * 获取申请状态[0->待处理；1->退货中；2->已完成；3->已拒绝]
     *
     * @return status - 申请状态[0->待处理；1->退货中；2->已完成；3->已拒绝]
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置申请状态[0->待处理；1->退货中；2->已完成；3->已拒绝]
     *
     * @param status 申请状态[0->待处理；1->退货中；2->已完成；3->已拒绝]
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    /**
     * 获取处理时间
     *
     * @return handle_time - 处理时间
     */
    public Date getHandleTime() {
        return handleTime;
    }

    /**
     * 设置处理时间
     *
     * @param handleTime 处理时间
     */
    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    /**
     * 获取商品图片
     *
     * @return sku_img - 商品图片
     */
    public String getSkuImg() {
        return skuImg;
    }

    /**
     * 设置商品图片
     *
     * @param skuImg 商品图片
     */
    public void setSkuImg(String skuImg) {
        this.skuImg = skuImg;
    }

    /**
     * 获取商品名称
     *
     * @return sku_name - 商品名称
     */
    public String getSkuName() {
        return skuName;
    }

    /**
     * 设置商品名称
     *
     * @param skuName 商品名称
     */
    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    /**
     * 获取商品品牌
     *
     * @return sku_brand - 商品品牌
     */
    public String getSkuBrand() {
        return skuBrand;
    }

    /**
     * 设置商品品牌
     *
     * @param skuBrand 商品品牌
     */
    public void setSkuBrand(String skuBrand) {
        this.skuBrand = skuBrand;
    }

    /**
     * 获取商品销售属性(JSON)
     *
     * @return sku_attrs_vals - 商品销售属性(JSON)
     */
    public String getSkuAttrsVals() {
        return skuAttrsVals;
    }

    /**
     * 设置商品销售属性(JSON)
     *
     * @param skuAttrsVals 商品销售属性(JSON)
     */
    public void setSkuAttrsVals(String skuAttrsVals) {
        this.skuAttrsVals = skuAttrsVals;
    }

    /**
     * 获取退货数量
     *
     * @return sku_count - 退货数量
     */
    public Integer getSkuCount() {
        return skuCount;
    }

    /**
     * 设置退货数量
     *
     * @param skuCount 退货数量
     */
    public void setSkuCount(Integer skuCount) {
        this.skuCount = skuCount;
    }

    /**
     * 获取商品单价
     *
     * @return sku_price - 商品单价
     */
    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    /**
     * 设置商品单价
     *
     * @param skuPrice 商品单价
     */
    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    /**
     * 获取商品实际支付单价
     *
     * @return sku_real_price - 商品实际支付单价
     */
    public BigDecimal getSkuRealPrice() {
        return skuRealPrice;
    }

    /**
     * 设置商品实际支付单价
     *
     * @param skuRealPrice 商品实际支付单价
     */
    public void setSkuRealPrice(BigDecimal skuRealPrice) {
        this.skuRealPrice = skuRealPrice;
    }

    /**
     * 获取原因
     *
     * @return reason - 原因
     */
    public String getReason() {
        return reason;
    }

    /**
     * 设置原因
     *
     * @param reason 原因
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 获取描述
     *
     * @return description述 - 描述
     */
    public String getDescription述() {
        return description述;
    }

    /**
     * 设置描述
     *
     * @param description述 描述
     */
    public void setDescription述(String description述) {
        this.description述 = description述;
    }

    /**
     * 获取凭证图片，以逗号隔开
     *
     * @return desc_pics - 凭证图片，以逗号隔开
     */
    public String getDescPics() {
        return descPics;
    }

    /**
     * 设置凭证图片，以逗号隔开
     *
     * @param descPics 凭证图片，以逗号隔开
     */
    public void setDescPics(String descPics) {
        this.descPics = descPics;
    }

    /**
     * 获取处理备注
     *
     * @return handle_note - 处理备注
     */
    public String getHandleNote() {
        return handleNote;
    }

    /**
     * 设置处理备注
     *
     * @param handleNote 处理备注
     */
    public void setHandleNote(String handleNote) {
        this.handleNote = handleNote;
    }

    /**
     * 获取处理人员
     *
     * @return handle_man - 处理人员
     */
    public String getHandleMan() {
        return handleMan;
    }

    /**
     * 设置处理人员
     *
     * @param handleMan 处理人员
     */
    public void setHandleMan(String handleMan) {
        this.handleMan = handleMan;
    }

    /**
     * 获取收货人
     *
     * @return receive_man - 收货人
     */
    public String getReceiveMan() {
        return receiveMan;
    }

    /**
     * 设置收货人
     *
     * @param receiveMan 收货人
     */
    public void setReceiveMan(String receiveMan) {
        this.receiveMan = receiveMan;
    }

    /**
     * 获取收货时间
     *
     * @return receive_time - 收货时间
     */
    public Date getReceiveTime() {
        return receiveTime;
    }

    /**
     * 设置收货时间
     *
     * @param receiveTime 收货时间
     */
    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    /**
     * 获取收货备注
     *
     * @return receive_note - 收货备注
     */
    public String getReceiveNote() {
        return receiveNote;
    }

    /**
     * 设置收货备注
     *
     * @param receiveNote 收货备注
     */
    public void setReceiveNote(String receiveNote) {
        this.receiveNote = receiveNote;
    }

    /**
     * 获取收货电话
     *
     * @return receive_phone - 收货电话
     */
    public String getReceivePhone() {
        return receivePhone;
    }

    /**
     * 设置收货电话
     *
     * @param receivePhone 收货电话
     */
    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    /**
     * 获取公司收货地址
     *
     * @return company_address - 公司收货地址
     */
    public String getCompanyAddress() {
        return companyAddress;
    }

    /**
     * 设置公司收货地址
     *
     * @param companyAddress 公司收货地址
     */
    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }
}